import service from "@/utils/request";


export const CategoryLeftApi = () => {
    return service({
        method: 'GET',
        url: '/catalog//list',
        params: {}
    })
};

export const CategoryRigthApi = (cat_id) => {
    return service({
        method: 'GET',
        url: '/catalog/list/' + cat_id,
    })
};


export const CategoryListApi = (data) => {
    return service({
        method: 'POST',
        url: '/catalog/goodslist',
        data: data
    })
};